﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="AddCricInfoComments.aspx.vb" Inherits="CricketForum.AddCricInfoComments" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
    .style1
    {
        width: 150px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
       Add Comments
    </h2>
    <table width="100%">
        <tr>
            <td class="style1">
                Title
            </td>
            <td>
                <asp:TextBox ID="txtTitle" runat="server" Width="600px" MaxLength="255"></asp:TextBox>
            </td>
              <td>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" CssClass="ErrorMessage"
                    ControlToValidate="txtTitle" ErrorMessage="Required Title" ValidationGroup="AddCricInfoComments" ></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                Description
            </td>
            <td>
                <asp:TextBox ID="txtDescription" runat="server" Height="200px" 
                    TextMode="MultiLine" Width="600px"></asp:TextBox>
            </td>
             <td>

              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" CssClass="ErrorMessage"
                    ControlToValidate="txtDescription" ErrorMessage="Required Description" ValidationGroup="AddCricInfoComments"></asp:RequiredFieldValidator>
            </td>
        </tr>      
       
      
        <tr>
            <td colspan="3"  style="text-align:center">
                <asp:Button ID="btnSave" runat="server" Text="Save Comments" ValidationGroup="AddCricInfoComments"  />
            </td>
        </tr>
    </table>
</asp:Content>
